﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FacturIT.Service.UserCompany
{
    public class UserCompanyDTO
    {
        private FacturIT.BLL.Model.UserCompany.UserCompany usercompany;

        public UserCompanyDTO(FacturIT.BLL.Model.UserCompany.UserCompany usercompany)
        {
            this.usercompany = usercompany;
        }
        public bool HasObject { get { return usercompany != null; } }


        public int UserCompanyID
        {
            get
            {
                return usercompany.UserCompanyID;
            }
            private set
            {
            }
        }

        public int UserID
        {
            get
            {
                return usercompany.UserID;
            }
            private set
            {
            }
        }

        public int CompanyID
        {
            get
            {
                return usercompany.CompanyID;
            }
            private set
            {
            }
        }
    }
}